html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

/*首页*/
.indexBox {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: url(../img/indexBox.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    position: relative;
}

.startAnswer {
    display: inline-block;
    width: 10.25rem;
    height: 2.25rem;
    position: absolute;
    left: 50%;
    margin-left: -5.125rem;
    bottom: 1.1rem;
    background-image: url(../img/startAnswer.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    box-shadow: none;

}

.indexExplainBtn {
    width: 3.375rem;
    height: 1.1rem;
    position: absolute;
    right: 1.7rem;
    top: 0.625rem;
    background-image: url(../img/indexExplain.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.startAnswer.active {

}

.indexExplain {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    color: #ffffff;
    font-size: 16px;
    padding: 2rem;
    display: none;
}

.indexExplain p {
    margin-top: 30%;
    font-size: 16px;
}

.indexExplainGb {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    background-image: url(../img/guanbi.png);
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: center;
    position: absolute;
    top: 3rem;
    right: 1.5rem;
}

/*答题页*/
.contBox {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: url(../img/contBg1.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    position: relative;
}

.contBoxMp3 {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    overflow: hidden;
    background-image: url(../img/mp3active.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
}

.contBoxMp3.active {
    background-image: url(../img/mp3.png);
}

.contW {
    width: 14rem;
    margin: 0 auto;
    padding-top: 3.3rem;
}

.contNum {
    font-size: 20px;
    font-weight: 700;
    color: #161616;
}

.contW > h2 {
    font-size: 20px;
    color: #161616;
    margin-top: 0.8rem;
}

.contW > img {
    width: 100%;
    margin-top: 1rem;
}

.contWw {
    width: 14rem;
    margin: 0 auto;
    padding-top: 2rem;
}

.contWBtn {
    width: 100%;
    height: 2rem;
    margin-bottom: 0.5rem;
    background-image: url(../img/contWBtn.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    font-size: 0.85rem;
    line-height: 2rem;
    padding-left: 1.6rem;
    color: #ffffff;
}

.contWBtn.btnYes {
    background-image: url(../img/btnYes.png);
}

.contWBtn.btnNo {
    background-image: url(../img/btnNo.png);
    animation: gogogo 0.5s linear;
    -webkit-animation: gogogo 0.5s linear;
}

@-webkit-keyframes gogogo {
    0% {
        transform: translateX(0);
        -webkit-transform: translateX(0)
    }
    25% {
        transform: translateX(-20px);
        -webkit-transform: translateX(-20px)
    }
    50% {
        transform: translateX(-0);
        -webkit-transform: translateX(-0)
    }
    75% {
        transform: translateX(20px);
        -webkit-transform: translateX(-20px)
    }
    100% {
        transform: translateX(0);
        -webkit-transform: translateX(0)
    }
}

@keyframes gogogo {
    0% {
        transform: translateX(0);
        -webkit-transform: translateX(0)
    }
    25% {
        transform: translateX(-20px);
        -webkit-transform: translateX(-20px)
    }
    50% {
        transform: translateX(-0);
        -webkit-transform: translateX(-0)
    }
    75% {
        transform: translateX(20px);
        -webkit-transform: translateX(-20px)
    }
    100% {
        transform: translateX(0);
        -webkit-transform: translateX(0)
    }
}
.Result{
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}
.contSuccess,.contFail{
    width: 16.4rem;
    height: 13.53rem;
    background-image: url(../img/success.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    font-size: 0.85rem;
    line-height: 2rem;
    color: #ffffff;
    margin: 40% auto 0;
    text-align: center;
    position: relative;
    color: #894d00;
    font-size: 1rem;
    display: none;
}
.Resultone{
    position: absolute;
    top: 4.5rem;
    left: 0;
    width: 100%;
}
.Resulttwo{
    position: absolute;
    top: 6rem;
    left: 0;
    width: 100%;
}
.Resultbtn{
    position: absolute;
    bottom: 1.1rem;
    left: 0;
    width: 100%;
}
.Resultbtn a{
    width: 36%;
    display: inline-block;
    margin: 0 0.25rem;
}
.contFail {
    background-image: url(../img/contFail.png);
    display: none;
}
.contFail .Resultbtn a{
    width: 70%;
    display: inline-block;
}
/*抽奖页*/
.chouJBox{
    width: 100%;
    height: 100%;
    background-image: url(../img/choujBg1.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    position: relative;
}
.choujBtn{
    width: 10.7rem;
    height: 2.5rem;
    background-image: url(../img/choujBtn.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    position: absolute;
    bottom: 5rem;
    left: 50%;
    margin-left: -5.35rem;
}
.chouJCont{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(../img/contBg1.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    display: none;
}
.chouJContOne,.chouJContTwo,.chouJContFail,.chouJContFail3{
    width: 16.2rem;
    height: 27rem;
    background-image: url(../img/chouJContOne.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    position: absolute;
    top: 40%;
    margin-top: -11rem;
    left: 50%;
    margin-left: -8.1rem;
    display: none;
}
.chouJContOne h5{
    width: 100%;
    font-size: 0.7rem;
    color: #ea542f;
    position: absolute;
    bottom: 8.5rem;
    left: 0;
    text-align: center;
}
.chouJContOne .Resultbtn,.chouJContTwo .Resultbtn{
    position: absolute;
    bottom: 5rem;
    width: 100%;
    text-align: center;
}
.chouJContFail .Resultbtn,.chouJContFail3 .Resultbtn{
    position: absolute;
    bottom: 5rem;
    width: 100%;
    text-align: center;
}
.chouJContOne .Resultbtn a,.chouJContTwo .Resultbtn a,.chouJContFail .Resultbtn a,.chouJContFail3 .Resultbtn a{
    width: 70%;
    display: inline-block;
    margin: 0 0.25rem;
}
.chouJContTwo{
    height: 27rem;
    background-image: url(../img/chouJContTwo.png);
}
.usercall{
    width: 100%;
    height: 1.8rem;
    position: absolute;
    bottom: 8.3rem;
    text-align: center;
}
.usercall input{
    width: 70%;
    height: 100%;
    font-size: 0.75rem;
    line-height: 1.8rem;
    padding-left: 0.65rem;
    border: 2px dashed  #894d00;
    border-radius: 50%;
    -webkit-border-radius:12px;
    color: #000000;
}
::-moz-placeholder { color: #d8a360; }
::-webkit-input-placeholder { color: #d8a360;}
:-ms-input-placeholder { color: #d8a360; }

.chouJContFail{
    height: 22.5rem;
    background-image: url(../img/chouJContFail.png);
}

.chouJContFail3 {
    height: 22.5rem;
    background-image: url(../img/chouJContFail3.png);
}